package com.ikas.ai.server.module.instance.model.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description: 工况流程批次实例
 * @Author: qi.yilai
 * @Date: 2023/4/25 10:48
 * @Version: 1.0.0
 **/
@Data
public class WorkFlowInstanceDTO {

    private Long id;

    /**
     * 机组id
     */
    private Long machineId;

    /**
     * 机组编号
     */
    private String machineNo;

    /**
     * 工况id
     */
    private Long wfId;

    /**
     * 工况名称
     */
    private String wfName;

    /**
     * 批次号
     */
    private String batch;

    /**
     * 当前步骤
     */
    private String currStep;

    /**
     * 开始时间(ms)
     */
    private Long startTime;

    private Date startDate;
    private Date endDate;

    /**
     * 结束时间(ms)
     */
    private Long endTime;

    /**
     * 花费时间(ms)
     */
    private Double costTime;

    private Integer state;

    private String meteName;

    private String meteCode;

    private String validMeteValue;

    private List<String> startMete;

    private List<String> endMete;

    private String meteValue;

    private String desc;

    private Date createTime;


    /**
     * 步骤实例列表
     */
    private List<WorkInstanceStepDTO> steps;
}
